package com.meihuak.cloud_ordering.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 韩迪
 * @date 2022/03/26 16:12
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderChild {
    @TableId(type = IdType.AUTO)private Long id;//订单号
    private Long orderId;//父订单id
    private Integer dishId;//菜品id
    private Integer count;//数量
    private Double price;
    private String dishName;


}
